package edu.sctu.practice.class02.zengguangchuan.test08;

/**
 * Created by lenovo0 on 2015/10/21.
 */
public class Vehicles {
    public String brand;
    public String color;


    public Vehicles(String brand, String color) {
        this.brand = this.brand;
        this.color = this.color;
    }

    public void run() {
        System.out.println("行驶：我已经开动了");
    }

    public void showInfo() {
        System.out.println("brand:" + brand + "");
        System.out.println("color:" + color + "");
    }
}